package com.example.mapper;

import com.example.domain.entity.Provider;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author baomidou
 * @since 2025-05-13
 */
public interface ProviderMapper extends BaseMapper<Provider> {
    @Select("select provider_name from provider where provider_id=#{id}")
    String getProviderName(Integer id);
}
